﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Data.SqlClient;
using System.Data;
/// <summary>
/// Summary description for Dataprocess
/// </summary>
public class Dataprocess
{
    ConnectionDB connect = new ConnectionDB();
    SqlConnection conn;
    SqlCommand cmd;
	public Dataprocess()
	{
        conn = connect.getConnect();
	}
    public DataTable allSystem(string commandstring)
    {
        DataTable dt = new DataTable();
        SqlDataAdapter da = new SqlDataAdapter(commandstring, conn);
        da.Fill(dt);
        return dt;
    }
}